export default {
  data () {
    return {
      // table search 参数
      tableArgs: {},
    }
  },

  computed: {
    tableRef () {
      return this.$refs.tableRef
    },
  },

  methods: {
    refreshTableData () {
      this.$nextTick(async () => {
        this.tableRef.refreshTableData()
      })
    },

    search (data) {
      this.tableArgs = data

      this.refreshTableData()
    },
  },
}
